package com.woniu.customer.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_customer_good_order")
public class GoodOrder {
    @TableId(type = IdType.ASSIGN_UUID)//uuid
    private String id;//uuid
    private String name;//商品名称
    private Integer grade;//花费积分
    private Date buyTime;//兑换时间
    private String phone;//用户手机
}
